package com.ruoyi.cyinfo.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成语库对象 info_idiom
 * 
 * @author ruoyi
 * @date 2024-03-10
 */
public class InfoIdiom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 成语 */
    @Excel(name = "成语")
    @ExcelProperty(value = "成语")
    private String idiom;

    /** 答案 */
    @Excel(name = "答案")
    @ExcelProperty(value = "答案")
    private String option1;

    @ExcelProperty(value = "选项一")
    private String option2;

    @ExcelProperty(value = "选项二")
    private String option3;

    @ExcelProperty(value = "选项三")
    private String option4;

    /** 是否停用 */
    @Excel(name = "是否停用")
    private Integer status;


    public String getOption1() {
        return option1;
    }

    public void setOption1(String option1) {
        this.option1 = option1;
    }

    public String getOption2() {
        return option2;
    }

    public void setOption2(String option2) {
        this.option2 = option2;
    }

    public String getOption3() {
        return option3;
    }

    public void setOption3(String option3) {
        this.option3 = option3;
    }

    public String getOption4() {
        return option4;
    }

    public void setOption4(String option4) {
        this.option4 = option4;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIdiom(String idiom) 
    {
        this.idiom = idiom;
    }

    public String getIdiom() 
    {
        return idiom;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("idiom", getIdiom())
            .append("status", getStatus())
            .toString();
    }
}
